#include <iostream>
#include "./model/bin-tree.h"

using namespace std;

void print(NodeDateType &e)
{
	cout << e << " ";
}

int main()
{
	BinTree tree;
	createTree(tree);
	preOrderTraverse(tree, print);
	cout << endl;
	inOrderTraverse(tree, print);
}